package com.ruoyi.robot.service.impl;

import com.ruoyi.robot.dao.InfoDao;
import com.ruoyi.robot.entity.Info;
import com.ruoyi.robot.service.InfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 *
 *
 * @author 26352
 */
@Service
public class InfoServiceImpl implements InfoService {

    @Resource
    public InfoDao infoDao;

    @Override
    public void addCount(int count) {
        infoDao.addCount(count);
    }

    @Override
    public Info findCount() {
        return infoDao.findCount();
    }
}
